package com.dingup.provider.mapper;

import com.dingup.api.model.student.StudentExamInformation;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface StudentExamInformationMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(StudentExamInformation record);

    int insertSelective(StudentExamInformation record);

    StudentExamInformation selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(StudentExamInformation record);

    int updateByPrimaryKey(StudentExamInformation record);

    StudentExamInformation getExamNew(Boolean ifTargetExam);

    List<StudentExamInformation> getByUserIdAndIfTargetExam(@Param("userId") String userId, @Param("ifTargetExam")Boolean ifTargetExam);
}